package com.by.service.impl;

import com.by.bean.Freight;
import com.by.common.crud.BaseServiceImpl;
import com.by.mapper.FreightMapper;
import com.by.service.FreightService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Collections;
import java.util.List;

@Service
public class FreightServiceImpl extends BaseServiceImpl<Freight, FreightMapper> implements FreightService {
    @Autowired
    FreightMapper freightMapper;

    @Override
    public String selectTransportation(int userId) {
        return freightMapper.selectTransportation(userId);
    }

    @Override
    public String selectName(int userId) {
        return freightMapper.selectName(userId);
    }
}
